package com.itboye.textileexpres.util;

import java.text.DateFormat;
import java.util.Date;
/**
 * 
 * @author 格式化时间戳
 *
 */
public class TimeFormat {
	public static String DateFormat(String s) {
		DateFormat sdf = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm");
		long ictiime = Long.valueOf(s);
		String time = sdf.format(new Date(ictiime * 1000L));
		return time;

	}
}
